package wdt_qf.entity.qf;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * RetailBill
 *
 * @author
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Retailbill implements Serializable {
    private Integer billID;
    private Integer ord;
    private int PRec;
    private double qty;
    private double assQty;
    private double retailPrice;
    private double assRetailPrice;
    private double discount;
    private double discountPrice;
    private double assDiscountPrice;
    private double discountTotal;
    private double total;
    private String comment;
    private String recipeNo;
    private String jobNumber;
    private Date outFactoryDate;
    private Date validityPeriod;
    private double costPrice = 0.0;
    private int unit;
    private double unitRate;
    private int KRec;
    private int providerId = 0;
    private int ptypeSource = 0;
    private int GRec = 0 ;
    private String disRec ="0011100";
    private double sourceRetailPrice;
    private String stockUniqueid;
    private int saleEtypeid = 0;
    private String jobCode;
    private String germJobNumber = "";
    private String checkReportNo = "'";
    private double backqty = 0;
    private int recipeNum = 0;
    private Integer promotionBillNo = 0;
    private Integer priceType = 0;
    private Integer limitQty = 0;
    private Integer promotionId =0;
    private Object promotionStatus = 0;
    private Integer promotionLessId = 0;
    private Integer promotionDZId = 0;
    private Integer promotionZKId = 0;
    private double dLessTotal = 0.0;
    private String sPromotionBillNo = "";
    private String ROutStockLaw = "z";
    private Integer promotionNoVipinter = 0;
    private Integer changeId = 0;//商品的changeId SET @ChangeID=dbo.fn_GetPtypeChangeID(@PRec)
    private Integer promotionSend = 0;
    private Integer promotionZHId = 0;
    private int rxBillId = 0;
    private int rxOrd = 0;
    private double beforeChangeTotal = 0.0;
    private int GJobID = 0;
    private Integer flags = 0;

}